{include file='public/head' /}
<style type="text/css">
  .tablelist tr {
    border:1px solid #CFCFCF;
  }
  .tablelist tr td,.tablelist tr th{
    border:1px solid #CFCFCF;
  }
</style>
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-lg-10 col-md-offset-2 main" id="main" style="padding:10px">
        <h1 class="page-header">退水记录 <!-- <button type="button" class="btn btn-danger"  title="删除全部选中" id="deleteSelect">删除</button> -->
        </h1>
        <div class="table-responsive" style="margin-top: -30px;border:none;">
          <form action="{:url('admin/returns/index')}" method="get" class="navbar-form navbar-right" role="search" style="margin-top: 20px;">
           <div class="input-group">
              <input type="text" class="form-control" autocomplete="off" placeholder="键入关键字搜索" value='{$Think.get.key}' name="key" style="width:190px">
            <span class="input-group">
             <input class="btn btn-primary" type="submit" value="搜索" style="border-radius: 0 3px 3px 0">&nbsp;
             <button class="btn btn-primary" name="all" value="1">显示全部</button>
              </span> 
            </div>  
           </form>
          <table class="table table-striped table-hover tablelist" >
            <thead>
              <tr style="background-color: #3399CC;color: white">
                <th>编号</span></th>
                <th><span class="glyphicon glyphicon-user"></span> <span>下注用户</span></th>
                <th><span class="glyphicon glyphicon-user"></span> <span>退水用户</span></th>
                <th><span class="glyphicon glyphicon-education"></span> <span>退水金额</span></th>
                <th><span class="glyphicon glyphicon-time"></span> <span>时间</span></th>
               <!--  <th><span class="glyphicon glyphicon-pencil"></span> <span>操作</span></th> -->
              </tr>
            </thead>
            <tbody>
              {volist name="data" id="vo"}
              <tr>
                <td>{$vo.id}</td>
                <td>{$vo.username}</td>
                <td>{$vo.users}</td>
                <td>{$vo.money}</td>
                <td>{$vo.createtimes}</td>
              </tr>  
              {/volist}
               <tr><td colspan="6" style="color: red"><span style="float: right;">总计 : {$moneys} &nbsp;</span></td></tr>
            </tbody>
          </table>
        </div>
        <footer class="message_footer" style="margin-top: -10px;">
        {if condition="$all eq 1"}
        {else/}
        <span style="float: left;margin-top: 15px;">第{$data->currentPage()} 页 / 共 {$data->lastPage()} 页 ( 总 共 {$data->total()} 条 记 录 )</span> 
        <div style="float: right;margin-top: -10px;">  
        <div class="page" style="margin-top: 5px;">
        {$data->render()}
        </div>
        </div>
        {/if}
        </footer>
    </div>
  </div>
</section>
</body>
</html>
